package com.snow.useviewdemo.function2.notice;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.text.TextUtils;

import com.snow.common.tool.utils.FastClickUtils;
import com.snow.common.tool.utils.ToastUtils;
import com.snow.useviewdemo.manager.EventBus;

/**
 * 接受状态栏RemoteViews点击事件
 */
public class StatusBarReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        if (intent == null || FastClickUtils.init().isClickFast()) {
            return;
        }
        ToastUtils.getInstance().showToast("点击了常驻通知栏");
    }
}
